import BASE_STYLE from 'common/const/style/base';
import Utils from 'common/utils';
/**
 * STYLE BASE
 * @type {[*]}
 */
const STYLE = [
  {
    key: 'width',
    val: 375,
    label: '宽',
    desc: '',
    type: 'input',
  },
  {
    key: 'height',
    val: 375,
    label: '高',
    desc: '',
    type: 'input',
  },
  {
    key: 'top',
    val: 0,
    label: '上',
    desc: '',
    type: 'input',
  },
  {
    key: 'left',
    val: 0,
    label: '左',
    desc: '',
    type: 'input',
  },
  {
    key: 'src',
    val: '//img03.taobaocdn.com/imgextra/i3/1862941194/T2PLGuXCdaXXXXXXXX-1862941194.png',
    label: '图片地址',
    desc: '',
    type: 'image',
  },
  {
    key: 'rotate',
    val: 0,
    label: '旋转角度',
    desc: '',
    type: 'range',
    min: 0,
    max: 360,
  },
  {
    key: 'rotateX',
    val: 0,
    label: '水平翻转',
    desc: '',
    type: 'switch',
  },
  {
    key: 'rotateY',
    val: 0,
    label: '垂直翻转',
    desc: '',
    type: 'switch',
  },
  {
    key: 'borderRadius',
    val: 0,
    label: '圆角比率',
    desc: '',
    type: 'range',
    min: 0,
    max: 100,
  },
];

export default Utils.mergeWithKey(BASE_STYLE, STYLE);
